<%--
  Created by IntelliJ IDEA.
  User: 17839106963
  Date: 2021/9/29
  Time: 10:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
  <%
   int i =1; //局部变量
      out.print(i);
  %>
<%!
    int i =5 ; //全局变量
%>
<%
    out.print(i);
%>
</body>
</html>
